/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.sbbs.springboot.sample20.repo;

import org.sbbs.springboot.sample20.entity.UserInfo;
import org.springframework.data.repository.CrudRepository;

/**
 *
 * @author Administrator
 */
public interface UserInfoRepository extends CrudRepository<UserInfo,Long>{
   
    /**通过username查找用户信息;*/
    public UserInfo findByUsername(String username);
   
}